package org.hp.service.patient;

import org.hp.bean.Patient;

import java.util.List;
import java.util.Map;

public interface PatientService {
    public List<Map<String,Object>> queryAll(Patient patient);
    public boolean del(int pid);
    public List<Map<String,Object>> queryDelAll();
    public boolean del2(int pid);
    public List<Map<String,Object>> queryDoctorAll();
    public boolean insert(Patient patient);
    public List<Map<String,Object>> queryOne(int pid);
    public boolean upd(Patient patient);
}
